const { _request } = require('../utils/request');
export function singIn(params) {
  return _request({
    url: '/app/qrcode/singIn',
    params
  })
}

export function scanQrCode(params) {
  return _request({
    url: `/app/qrcode/scanQrCode/${params}`,
    method: 'get'
  })
}

export function singInWithoutQrCode(params) {
  return _request({
    url: `/app/qrcode/singInWithoutQrCode`,
    params
  })
}

export function getWorkOrderIdByQrCodeId(params) {
  return _request({
    url: `/app/qrcode/getWorkOrderIdByQrCodeId`,
    params
  })
}
